package com.ldzysoft.myweather.db;

import org.litepal.crud.LitePalSupport;

public class City extends LitePalSupport {

    /*
     * id：数据库自增ID，无需修改
     * cityCode：城市代号（数字）
     * cityName：城市名称
     * provinceId：城市所属省份ID
     * 获取数据：http://guolin.tech/api/china/16
     * */

    private int id, cityCode, provinceId;
    private String cityName;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCityCode() {
        return cityCode;
    }

    public void setCityCode(int cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }
}
